<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags" %>
<sj:head />
<h2>Autocompleter</h2>

<p class="text">
	A Autocompleter that handle a String Array from Action.
</p>

<s:form id="formAutocomplete" namespace="/jquery" action="echo" theme="xhtml">
	<sj:autocompleter
			id="languages"
			name="echo"
			list="%{languages}"
			label="Select Languages"
			/>
	<br/>
	<sj:submit
			id="submitFormAutocomplete"
			targets="result"
			button="true"
			value="Submit"
			indicator="indicator"
			/>
</s:form>
<img id="indicator" src="images/indicator.gif" alt="Loading..." style="display:none"/>

<strong>Result Div :</strong>
<div id="result" class="result ui-widget-content ui-corner-all">Submit a form.</div>

